package com.css.fxfzcpxx.modules.typeManage.service;

import com.css.fxfzcpxx.base.response.RestResponse;
import com.css.fxfzcpxx.modules.typeManage.entity.TypeManage;
import com.css.fxfzcpxx.modules.typeManage.param.TypeManageParam;

import java.util.List;

public interface TypeManageService {
    List<TypeManage> getType(String plate);

    RestResponse save(TypeManage typeManage);

    RestResponse delete(String id, String typePlate);

    void update(TypeManage typeManage);

    TypeManage queryIdByName(String name);

    RestResponse getListByParam(TypeManageParam param);

    void transferByIds(String typePlate,String typeId, String ids);

    void transferByTypeId(String typePlate,String oldTypeIds, String newTypeId);

    TypeManage findById(String id);
}
